import { defineStore } from "pinia";

const demo1 = defineStore({
    id: "demo1",
    state() {
        return {
            count: 10,
            tableData: []
        }
    },
    actions: {
        saveData(obj) {
            this.tableData = obj;
        }
    }
})

export default demo1;
